<?php
class Resource extends AppModel {
    var $name = 'Resource';
	
	/*var $belongsTo = array( 
			'AclRule' => array(
					'className'     => 'AclRule', 
					'foreignKey'    => 'resource_id' 				 
										 
			)				
	); */
	var $hasMany = array(
        'AclRule' =>
        array('className' => 'AclRule',
                         'conditions'    => '',
                         'order'         => '',
                         'limit'         => '',
                         'foreignKey'    => 'resource_id',
                         'dependent'     => true,
                         'exclusive'     => false,
                         'finderQuery'   => '',
                         'fields'        => '',
                         'offset'        => '',
                         'counterQuery'  => ''
    )
	);

}
?>